package r2d2.sensors;

import lejos.nxt.SensorPort;

public class Sensors {
	
	//ULTRASONIC SENSOR
	private UltrasonicSensorRd2d2 obstacleSensor;
	//Triple Zone Infrared Obstacle Detector
	private CollisionSensor collisionSensor;
	
	public Sensors() {
		this.obstacleSensor = new UltrasonicSensorRd2d2(SensorPort.S1);
		this.collisionSensor = new CollisionSensor(SensorPort.S2, CollisionSensor.Range.SHORT_RANGE);
	}
	public UltrasonicSensorRd2d2 getObstacleSensor() {
		return obstacleSensor;
	}
	public CollisionSensor getCollisionSensor() {
		return collisionSensor;
	}
}
